﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace SegIdenPC.Entidad
{
    [XmlRootAttribute("LineaReporteGuia")]
    public class LineaReporteGuia
    {
        public LineaGuia lineaGuia { get; set; }

    }

    [XmlRootAttribute("ListaLineaReporteGuia")]
    public class ListaLineaReporteGuia
    {
         public ListPersonalizada<LineaReporteGuia> lista { get; set; }

         public ListaLineaReporteGuia()
        {
            lista = new ListPersonalizada<LineaReporteGuia>();
        }

         public void add(LineaReporteGuia lineaReporteGuia)
        {
            lista.Add(lineaReporteGuia);
        }

        public void remove(LineaReporteGuia lineaReporteGuia)
        {
            lista.Remove(lineaReporteGuia);
        }

        public int size()
        {
            return lista == null ? -1 : lista.Count;
        }
    }
}
